#ifndef DESCR_CULTURES_PARSER_H
#define DESCR_CULTURES_PARSER_H


#include "culture.h"
#include "descr/descr_parser.h"
#include "region.h"


class DescrCulturesParser : public DescrParser
{
protected:	
	bool parse(std::string line);

private:
	enum STATE
	{
		CULTURE,
		SETTLEMENT_TYPE,
		SETTLEMENT_DATA
	} state;

	std::shared_ptr<Culture> parsingCulture;
	std::shared_ptr<Culture::Settlement> parsingSettlement;
};


#endif
